how to make a csv file with open